﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using MMITDomain.Entities;

namespace MMITDomain.Concrete
{
    class EFDbContext : DbContext
    {
        public DbSet<Voucher> Vouchers
        {
            get;
            set;
        }

        public DbSet<Account> Accounts
        {
            get;
            set;
        }

        public DbSet<Customer> Customers
        {
            get;
            set;
        }

        public DbSet<Transaction> Transactions
        {
            get;
            set;
        }

        public DbSet<Rule> Rules
        {
            get;
            set;
        }

        public DbSet<Charge> Charges
        {
            get;
            set;
        }

        public DbSet<AccountType> AccountTypes
        {
            get;
            set;
        }

        public DbSet<TransactionType> TransactionTypes
        {
            get;
            set;
        }

        public DbSet<TransactionCharge> TrasactionCharges
        {
            get;
            set;
        }

        public DbSet<TransactionRole> TransactionRoles
        {
            get;
            set;
        }

        public DbSet<TransactionRoleAccount> TransactionRoleAccounts
        {
            get;
            set;
        }

        public DbSet<TransactionRoleTransactionType> TransactionRoleTransactionTypes
        {
            get;
            set;
        }

        public DbSet<Country> Countries
        {
            get;
            set;
        }

        public DbSet<IdentificationType> IdentificationTypes
        {
            get;
            set;
        }

        public DbSet<Currency> Currencies
        {
            get;
            set;
        }

        public DbSet<CountryCurrency> CountryCurrencies
        {
            get;
            set;
        }

        public DbSet<Partner> Partners
        {
            get;
            set;
        }
    }
}
